package net.yunzhanyi.generic.mapper;

import net.yunzhanyi.generic.domain.model.Dynasty;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author bestct
 */
@Mapper
public interface DynastyMapper {
    int deleteByPrimaryKey(Integer dynastyId);

    int insert(Dynasty record);

    int insertSelective(Dynasty record);

    Dynasty selectByPrimaryKey(Integer dynastyId);

    int updateByPrimaryKeySelective(Dynasty record);

    int updateByPrimaryKey(Dynasty record);

    List<Dynasty> selectInit();

}
